package net.dopan.pigframe.discovery;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/***
 * @Package: net.dopan.pigframe.discovery
 * @Title: DiscoveryApplication
 * @Description: 注册服务中心
 * @author: 刘宽
 * @date: 2018/8/31 10:50
 */
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
@EnableEurekaServer
public class DiscoveryApplication {

    public static void main(String[] args) {
        SpringApplication.run(DiscoveryApplication.class, args);
        System.out.println("====================DiscoveryApplication Start================");
    }
}
